﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShareOsNetLib
{
	/// <summary>
	/// Functions and Fields can have the following protection levels:
	/// </summary>
	public enum ProtectionLevel
	{
		Published = 1,	// Accessible over TCP/IP to the whole world (Functions only).
		Secured = 2,	// A protected function -- Only if granted access (Functions only).
		Internal = 3,	// An internal use only function (Functions only).
		Private = 4,	// Private - For fields and functions - how it can be used in derived classes (cant be).
		Protected = 8,	// Protected - For fields and functions - meaning only usable within a type or its derivatives.
		Public = 12,	// Public - Can be used by everyone.
	}
}
